{include file="header.tpl"}
<h3>Rejestracja</h3>
	<form method="post" action="register.php" class="form" id="register" name="register">
		<fieldset>
			<legend>Formularz rejestracyjny</legend>
				<p>
					<label for="choose" >Kim jesteś?</label><br/>
					<input type="radio" name="choose" id="company_radio"  value = "company">Firma<br/>
					<input type="radio" name="choose" id="student_radio"  checked = "checked" value = "student">Student<br/>
				</p>
				<p>
					<label for="email" >Email</label>
					<input type="text" name="email" id="email" title="Email"/>
				</p>
				
				<p>
					<label for="password" >Hasło</label>
					<input type="password" name="password" id="password"  title="Hasło"/>
				</p>
			
				<div id="company_block" style="display:none">
					<h2>Dane firmy</h2>
					<p>
						<label for="c_name" >Nazwa firmy</label>
						<input type="text" id="c_name" name="c_name" title="Nazwa"/>
					</p>
					
					<p>
						<label for="c_address" >Adres</label>
						<input type="text" id="c_address" name="c_address" title="Adres"/>
					</p>
					
					<p>
						<label for="c_phone" >Telefon</label>
						<input type="text" id="c_phone" name="c_phone" />
					</p>
					
					<p>
						<label for="c_site" >Strona www</label>
						<input type="text" id="c_site" name="c_site"  />
					</p>
					<h2>Dane osoby reprezentującej firmę</h2>
					<p>
						<label for="c_person_name" >Imię</label>
						<input type="text" id="c_person_name" name="c_person_name"  />
					</p>
					
					<p>
						<label for="c_person_surname" >Nazwisko</label>
						<input type="text" id="c_person_surname" name="c_person_surname" />
					</p>
					
					<p>
						<label for="c_person_position" >Stanowisko</label>
						<input type="text" id="c_person_position" name="c_person_position"  />
					</p>
					
					<p>
						<label for="c_person_email" >Email</label>
						<input type="text" id="c_person_email" name="c_person_email"  />
					</p>
					
					<p>
						<label for="c_person_phone" >Telefon</label>
						<input type="text" id="c_person_phone" name="c_person_phone" />
					</p>			
				</div>
				
				<div id="student_block">
					<h2>Dane studenta</h2>
					<p>
						<label for="s_name" >Imię</label>
						<input type="text" id="s_name" name="s_name" title="Imię" />
					</p>
					
					<p>
						<label for="s_surname" >Nazwisko</label>
						<input type="text" id="s_surname" name="s_surname" title="Nazwisko" />
					</p>
					
					<p>
						<label for="s_album" >Nr. albumu</label>
						<input type="text" id="s_album" name="s_album" title="Nr.albumu" />
					</p>
					
					<p>
						<label for="s_faculty" >Wydział</label>
						<select id="s_faculty" name="s_faculty" class="select" title="Wydział">
							<option selected="selected" value="0">--Wybierz wydział--</option>
								{foreach item=faculty from=$faculties}
									<option value="{$faculty.id}">{$faculty.name}</option>
								{/foreach}
						</select>
					</p>
					
					<p>
						<label for="s_specialization" >Kierunek</label>
						<select id="s_specialization" name="s_specialization" class="select">
							<option selected="selected">--Wybierz kierunek--</option>					
						</select>
					</p>
				</div>
			<p class="submit"><button type="submit">Rejestruj</button></p>
		</fieldset>
	</form>		
{include file="footer.tpl"}